package com.boot.study.consumer;


import com.boot.study.stream.AbstractStreamMessageListener;
import com.boot.study.message.SameasCDEMessage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;




@Component
@Slf4j
public class SameasCDEConsumer extends AbstractStreamMessageListener<SameasCDEMessage> {



    @Override
    public void onMessage(SameasCDEMessage message) {
        log.info("[onMessage][收到  CDE更新消息]",message.getDatabaseId());

    }
}
